<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/comm.css" />
    <style type="text/css">
    
    </style>
</head>

<body>
    <header class="aui-bar aui-bar-nav header" id="aui-header">
        <a class="aui-btn aui-pull-left">
        </a>
        <div class="aui-title">登录</div>
    </header>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript">
apiready = function() {
    api.parseTapmode();
    var header = $api.byId('aui-header');
    var statusBar = api.require('statusBar');
    var statusBarHeight = statusBar.getStatusBarHeight();
    if (statusBarHeight > 25) {
        $api.css(header, 'border-top: solid ' + statusBarHeight + 'px #000;');
    }
    // $api.fixStatusBar(header);
    var headerPos = $api.offset(header);
    var body_h = $api.offset($api.dom('body')).h;
    api.openFrame({
        name: 'login_frm',
        url: 'login_frm.html',
        bounces: false,
        rect: {
            x: 0,
            y: headerPos.h,
            w: 'auto',
            h: 'auto'
        }
    })
};

function closeWin() {
    api.closeWin();
}
</script>

</html>